#ifndef WF_INFOINSIDE_H
#define WF_INFOINSIDE_H

#include "pf_actioninterface.h"
#include "gui_export.h"

/**
 * This action class can handle user events for checking if
 * a given point is inside or outside the selected contour.
 *
 */
class GUI_EXPORT WF_InfoInside : public PF_ActionInterface {
	Q_OBJECT
public:
    WF_InfoInside(PF_Container& container,
                       PF_GraphicView& graphicView);
    ~WF_InfoInside();
	
	static QAction* createGUIAction(LX_Define::ActionType /*type*/, QObject* /*parent*/);

    virtual void trigger();
    virtual void mouseMoveEvent(PF_MouseEvent* e);
    virtual void mouseReleaseEvent(PF_MouseEvent* e);
    virtual void updateMouseButtonHints();
    virtual void updateMouseCursor();
    virtual void updateToolBar();

private:
    PF_Vector pt;
	PF_Container* contour;
};

#endif
